package com.logic.modular.game.battle.process.domain;

import com.logic.modular.game.battle.panel.skillEffect.domain.SkillEffectLayer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * 效果触发信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EffectTriggerInfo {
    @ApiModelProperty(value = "技能效果类型id")
    private Long skillEffectTypeId;
    @ApiModelProperty(value = "来源")
    public Source source;
    @ApiModelProperty(value = "触发原因")
    public Reason reason;
    @ApiModelProperty(value = "获得技能效果的目标")
    private Long skillTriggerHeroId;
    @ApiModelProperty(value = "技能效果触发信息")
    public List<SkillEffectLayer> skillEffectLayer;
    @ApiModelProperty(value = "通用信息")
    public Map<String, Object> commonInfo;
}
